﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BacteriaSimulation.Simulation
{
    public class SimulationUpdateEventArgs : EventArgs
    {
        public List<Bacterium> Bacteria { get; set; }
        public int CyanobacteriaCount { get; set; }
        public int CannibalBacteriaCount { get; set; }
        public Double AvalaibleResources { get; set; }

        public SimulationUpdateEventArgs(List<Bacterium> bacteria, int cyanoCount, int cannibalCount, Double avalaibleResources)
        {
            this.CyanobacteriaCount = cyanoCount;
            this.CannibalBacteriaCount = cannibalCount;
            this.AvalaibleResources = avalaibleResources;
            //List<Bacterium> copy = new List<Bacterium>();
            //foreach (Bacterium bact in bacteria)
            //{
            //    copy.Add(bact);
            //}
            this.Bacteria = bacteria;
        }
    }
}
